package com.peanut.baby.mvp.profile.comments;

import com.peanut.baby.model.BBSComment;
import com.peanut.baby.mvp.BasePresenter;
import com.peanut.baby.mvp.BaseView;

import java.util.List;

/**
 * Created by anonymouslystudio on 2017/8/22.
 */

public interface ProfileCommentsContract {
    interface View extends BaseView{
        void onGetCommentsSuccess(List<BBSComment> moments);
        void onGetCommentsFailed(String reason);
    }
    interface Presenter extends BasePresenter{
        void getComments(String userId, int pageNo, int pageSize);
    }
}
